<?php
class Error_404 extends MY_Controller{

	function __construct()
	{
		parent::__construct();
		$this->load->library('googlemaps');
		$config = array('center'=>"51.215478, 4.415171",'zoom'=>17,'map_height'=>'350','map_type'=>'ROADMAP','scrollwheel'=>false);

		$marker = array();
		$marker['position'] = "51.215478, 4.415171";
		$marker['title'] = "Chinees Massage 15";
		$marker['icon'] = base_url('../resources/frontpage/imgs/gmapMaker.png');
		$marker['infowindow_content'] = "Chinees Massage 15 | Antwerpen";
		
		$this->googlemaps->initialize($config);
		$this->googlemaps->add_marker($marker);
	}
	
	
	function index()
	{
		$data['map'] = $this->googlemaps->create_map();
		$data['title'] = $this->title('Error 404');
		$this->load->view($this->theme.'/header',$data);
		$this->load->view($this->theme.'/error_404');
		$this->load->view($this->theme.'/footer');
	}
	
}